using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class MatHang_DTO
    {
        private int maMH;

        public int MaMH
        {
            get { return maMH; }
            set { maMH = value; }
        }
    

	
        private int maKhuVuc;

        public int MaKhuVuc
         {
           get { return maKhuVuc; }
           set { maKhuVuc = value; }
         }


        private string tenMH;

        public string TenMH
        {
            get { return tenMH; }
            set { tenMH = value; }
        }

        private int maLoai;

        public int MaLoai
        {
            get { return maLoai; }
            set { maLoai = value; }
        }
        private int maDN;

        public int MaDN
        {
            get { return maDN; }
            set { maDN = value; }
        }


        private string moTa;

        public string MoTa
        {
            get { return moTa; }
            set { moTa = value; }
        }
        private float giaBan;

        public float GiaBan
        {
            get { return giaBan; }
            set { giaBan = value; }
        }

        private float tiLeGiam;

        public float TiLeGiam
        {
            get { return tiLeGiam; }
            set { tiLeGiam = value; }
        }
        private float phanTram_ChietKhau;

         public float PhanTram_ChietKhau
          {
           get { return phanTram_ChietKhau; }
           set { phanTram_ChietKhau = value; }
          }
        private DateTime thoiGian_BatDau;

        public DateTime ThoiGian_BatDau
        {
            get { return thoiGian_BatDau; }
            set { thoiGian_BatDau = value; }
        }
        private DateTime thoiGian_KetThuc;

        public DateTime ThoiGian_KetThuc
        {
            get { return thoiGian_KetThuc; }
            set { thoiGian_KetThuc = value; }
        }


        private int soLuongPhieuBan;

        public int SoLuongPhieuBan
        {
            get { return soLuongPhieuBan; }
            set { soLuongPhieuBan = value; }
        }

        private int soLuongPhieuConLai;

        public int SoLuongPhieuConLai
        {
            get { return soLuongPhieuConLai; }
            set { soLuongPhieuConLai = value; }
        }
        private int maTinhTrang_SP;

        public int MaTinhTrang_SP
        {
            get { return maTinhTrang_SP; }
            set { maTinhTrang_SP = value; }
        }


        private int phiGiaoHangTanNoi;

        public int PhiGiaoHangTanNoi
        {
            get { return phiGiaoHangTanNoi; }
            set { phiGiaoHangTanNoi = value; }
        }

        private string hinhMinhHoa;

        public string HinhMinhHoa
        {
            get { return hinhMinhHoa; }
            set { hinhMinhHoa = value; }
        }

        private int luotXem;

        public int LuotXem
        {
            get { return luotXem; }
            set { luotXem = value; }
        }
        

        public MatHang_DTO()
        {
            this.ThoiGian_BatDau = DateTime.Now;
            this.ThoiGian_KetThuc = DateTime.Now;
        }
    }
    public enum MatHangColumns
    {
        MaMH,
       
        MaKhuVuc,
        TenMH,
        MaLoai,
        MaDN,
        MoTa,
        GiaBan,
        TiLeGiam,
        PhanTram_ChietKhau,
        ThoiGian_BatDau,
        ThoiGian_KetThuc,
        SoLuongPhieuBan,
        SoLuongPhieuConLai,
        MaTinhTrang_SP,
        PhiGiaoHangTanNoi,
        HinhMinhHoa,
        LuotXem,
       

    }

    public class MatHangColection : List<MatHang_DTO> { };
}


  
